package com.example.springtest.exam.mapper;


import com.example.springtest.exam.pojo.Exam;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExamMapper {

    List<Exam> getList();

    int add(Exam exam);

    int delete(Integer id);

    Exam getById(Integer id);

    int edit(Exam exam1);

    Exam getByName(String co_name);

    int updateStatus(Exam exam);
}
